package com.jxw.launcher.transformer;

import android.view.View;

/* loaded from: classes.dex */
public class FlipHorizontalTransformer extends ABaseTransformer {
    @Override // com.jxw.launcher.transformer.ABaseTransformer
    protected void onTransform(View view, float f) {
        view.setPivotX(view.getWidth() * 0.5f);
        view.setPivotY(view.getHeight() * 0.5f);
        view.setRotationY(180.0f * f);
        if (f <= 0.8f && f >= -0.8f) {
            view.setVisibility(0);
        } else {
            view.setVisibility(4);
        }
    }
}
